package com.example.service2.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务2的controller
 */
@RestController
public class HelloController {

    //用于测试
    @RequestMapping("s2")
    public String s2() {
        return "这是服务2的测试语句";
    }

}